package com.test.mapper;


import com.test.model.dto.page.QuestionPageQuery;
import com.test.model.dto.wrongTime.WrongTimeCountsDTO;
import com.test.model.pojo.SingleQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

@Mapper
public interface SingleQuestionMapper {
    SingleQuestion getQuestionById(Integer id);
    Integer getCounts();
    void updateUserQuestion(WrongTimeCountsDTO wrongTimeCountsDTO);
    List<SingleQuestion> getSingleQuestionPage(QuestionPageQuery QuestionPageQuery);
}
